home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 14
/
014.d81
/
solving equation
< prev
next >
Wrap
Text File
|
2022-08-26
|
487b
|
38 lines
SOLVING THE EQUATION
THEOREM. The linear diophantine
equation
AX + BY = C
has a solution X,Y if and only if C
is divisible by the GCD of A and B.
Thus we know right off the bat that
the equation
8X + 4Y = 6
has NO solutions in the integers
because (8,4)=4 does not divide 6!
We also know that
7X + 5Y = N
must have a solution NO MATTER WHAT N
IS since (7,5)=1, and 1 divides every
integer.
--------------------------------------